package org.hyl.javabase.swing;

import java.awt.*;

import javax.swing.*;

public class Hobby extends JPanel {

  JCheckBox c1 = new JCheckBox("д��",false);

  JCheckBox c2 = new JCheckBox("����",false);

  JCheckBox c3 = new JCheckBox("�ܲ�",false);

  JRadioButton rad1 = new JRadioButton("��ѧ");

  JRadioButton rad2 = new JRadioButton("����");

  JRadioButton rad3 = new JRadioButton("��ѧ");

  JLabel jl = new JLabel("����ʲô���ã�" );

  JLabel j2 = new JLabel("���ò�����ʱ�䣿" );

  JButton exitbtn = new JButton("�˳�");

  public Hobby( )  {

     setLayout(new GridLayout(9,1)); 

     add(jl); add(c1); add(c2); add(c3);

     add(j2); add(rad1); add(rad2); add(rad3); add(exitbtn);

   }

}